package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTMeals;
import com.hu.zhcc.shiro.service.xsx.TMealsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 膳食库 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@RestController
@RequestMapping("/tMeals")
public class TMealsController {

    @Autowired
    TMealsService tMealsService;

    @GetMapping("/all")
    private List<XsxTMeals> ss(){
        return tMealsService.queryAllMeals();
    }
}

